signal on syntax;signal on ioerr;signal on error;parse arg dopusport modus addargs;if dopusport~="" then address value dopusport
lister query source;parse var RESULT handle .;if rc>0 then exit;lister query handle numselentries;entries=RESULT
if entries<1 then break;lister set handle busy 1;do j=1 TO entries;lister query handle path;selpath = RESULT;lister query handle firstsel;selentry = RESULT
lister query handle entry selentry stem fileinfo.
if fileinfo.type<1 then do;lister select handle selentry off;lister set handle progress 100 selentry